package cn.com.smart.module.ai.aiImg.domain;

import cn.com.smart.framework.web.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 摄像头图片信息表 ai_img
 * 
 * @author xman
 * @date 2020-03-05
 */
@Data
@TableName("ai_img")
public class AiImg extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 图片id */
	@TableId(type=IdType.AUTO)
	private Long id;
	/** 摄像头编码 */
	private String cameraCode;
	/** 图片路径 */
	private String path;
	/** 确认状态(0-未确认，1-以确认) */
	private Integer confirmState;
	/** 识别(0-确认警告，1-识别错误) */
	private Integer distinguish;

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cameraCode", getCameraCode())
            .append("path", getPath())
            .append("confirmState", getConfirmState())
            .append("distinguish", getDistinguish())
            .append("createTime", getCreateTime())
            .toString();
    }
}
